const generateOverride = (params = {}) => {
    let result = ''
    if (params.card_bg) {
        result += `
      #usercard .card-bg {
        background-image: url('${params.card_bg}');
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
    }
    `
    }
    if (params.bg) {
        result += ` 
        #bg{
        background-color:${params.bg};
      }
      `
    }
    return result
}

module.exports = generateOverride